package com.tensquare.user.dao;

import com.tensquare.user.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zzb
 * @create 2021/2/22
 */
public interface UserDao extends JpaRepository<User,String> {
    //根据手机号查询用户
    User findByMobile(String mobile);
}
